<%@ Page Language="C#" MasterPageFile="~/Tabbed.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Home" Title="<%$Resources:web.sitemap, Home.Title %>" %>
<%@ Register TagPrefix="sample" Namespace="SqlWebAdmin.CSharp.Controls" %>
<%@ Register TagPrefix="vbcontrols" Namespace="SqlWebAdmin.VisualBasic.Controls" %>
<%@ Register Src="~/controls/DisplayModeMenu.ascx" TagName="DisplayModeMenu" TagPrefix="uc1" %>

<asp:Content ContentPlaceHolderID="tabbedContent" runat="Server">
    <div id="content">
        <br />
        <div class="CenterWell">
            <span class="header3">Welcome <%= User.Identity.Name %> 
            <div style="float:right;margin-top: -25px;">
            <uc1:DisplayModeMenu runat="server" /></div></span><br />
            <hr />
                    
        
        <asp:WebPartManager ID="webpartmanager1" runat="server"   />
            
            <table style="width:100%" border="0" cellspacing="5" > 
                <tr>
                    <td align="center" valign="top" width="33%">
                        <asp:WebPartZone ID="zone1" runat="server" CssClass="wpMain"  Width="277px" 
                            PartChromeStyle-BorderStyle="none"
                            PartChromeStyle-CssClass="wpNormalChrome"
                            PartStyle-CssClass="wpNormal"
                            PartTitleStyle-CssClass="wpNormalTitle" 
                            PartTitleStyle-Height="17px"
                            PartTitleStyle-HorizontalAlign="left"
                            MenuPopupImageUrl="~/App_Themes/default/images/icons/wpmenu_drop.gif"
                            MenuPopupStyle-Height="17px"
                            LayoutOrientation="Vertical"  
                            >
                            <ZoneTemplate>
                                <sample:CpuWebPart ID="cpu" runat="server"    Title="CPU" Width="277px" />
                                                            </ZoneTemplate>
                        </asp:WebPartZone>
                    </td>
                    <td align="center" valign="top" width="33%">
                        <asp:WebPartZone ID="WebPartZone1" runat="server" Width="277px" 
                            PartChromeStyle-BorderStyle="none"
                            PartChromeStyle-CssClass="wpNormalChrome"
                            PartStyle-CssClass="wpNormal"
                            PartTitleStyle-CssClass="wpNormalTitle" 
                            PartTitleStyle-Height="17px"
                            PartTitleStyle-HorizontalAlign="left"
                            MenuPopupImageUrl="~/App_Themes/default/images/icons/wpmenu_drop.gif"
                            MenuPopupStyle-Height="17px"
                            LayoutOrientation="Vertical"  
                            >
                            <ZoneTemplate>
                                <sample:TopTenProcessesWebPart ID="TopTenProcessesWebPart1"   Hidden="False" runat="server" Title="Top Ten Processes" Width="277px"/>
                               
                               </ZoneTemplate>
                        </asp:WebPartZone>
                    </td>
                    <td align="left" valign="top" width="33%">
                        <asp:WebPartZone ID="WebPartZone2" runat="server" Width="277px" 
                            PartChromeStyle-BorderStyle="none"
                            PartChromeStyle-CssClass="wpNormalChrome"
                            PartStyle-CssClass="wpNormal"
                            PartTitleStyle-CssClass="wpNormalTitle" 
                            PartTitleStyle-Height="17px"
                            PartTitleStyle-HorizontalAlign="left"
                            MenuPopupImageUrl="~/App_Themes/default/images/icons/wpmenu_drop.gif"
                            MenuPopupStyle-Height="17px"
                            LayoutOrientation="Vertical"
                            >
                            <ZoneTemplate>
                            </ZoneTemplate>
                        </asp:WebPartZone>
                        <asp:CatalogZone ID="CatalogZone" runat="Server" Width="277px">
                            <ZoneTemplate>
                                <asp:DeclarativeCatalogPart ID="partList"  runat="Server">
                                    <WebPartsTemplate>
                                        <div align="left">
                                        <asp:Calendar id="cwp0" Title="Calendar" runat="Server"  />
                                        <vbcontrols:ActiveUsersWebPart id="cwp1" runat="server" Title="Active Users" Width="277px" />
                                        <sample:CpuWebPart  id="cwp2" runat="server"    Title="CPU" Width="277px" />
                                        <sample:TopTenProcessesWebPart  id="cwp3"  Hidden="False" runat="server" Title="Top Ten Processes" Width="277px"/>
                                        </div>
                                    </WebPartsTemplate>
                                </asp:DeclarativeCatalogPart>
                            </ZoneTemplate>
                        </asp:CatalogZone>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
